package Demo07;

import java.util.ArrayList;
import java.util.Scanner;

public class ZuoYe_7 {
	public static void main(String[] args) {
		ArrayList<Integer> list=new ArrayList<Integer>();
		printArray(list);
		System.out.println(list);
		System.out.println("{"+list.get(0)+"@"+list.get(1)+"@"+list.get(2)+"}");
		/***
		System.out.print("{");
		for(int i=0;i<list.size()-1;i++){
			System.out.print(list.get(i)+"@");
		}
		System.out.println(list.get(list.size()-1)+"}");
	****/
	}

	private static void printArray(ArrayList<Integer> list) {
		Scanner sc=new Scanner(System.in);
		int num1=sc.nextInt();
		int num2=sc.nextInt();
		int num3=sc.nextInt();
		list.add(num1);list.add(num2);list.add(num3);
	}
	
}
